package com.happy.cat.project.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.happy.cat.framework.aspectj.lang.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 组队品类对象 cat_team_category_item
 * 
 * @author verne
 * @date 2020-07-18
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("cat_team_category_item")
@ApiModel(value="组队品类对象", description="组队品类对象数据")
public class CatTeamCategoryItem implements Serializable {

private static final long serialVersionUID=1L;


    /** id */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 品类名称 */
    @Excel(name = "品类名称")
    @ApiModelProperty(value = "品类名称")
    private String name;

    /** 归属分类 */
    @Excel(name = "归属分类")
    @ApiModelProperty(value = "归属分类")
    private Long teamCategoryId;

    /** 品类图标 */
    @Excel(name = "品类图标")
    @ApiModelProperty(value = "品类图标")
    private String icon;

    /** 筛选标签 */
    @Excel(name = "筛选标签")
    @ApiModelProperty(value = "筛选标签")
    private String tags;

    /** 收费方式 */
    @Excel(name = "收费方式")
    @ApiModelProperty(value = "收费方式")
    private String tollType;

    /** 排序 */
    @Excel(name = "排序")
    @ApiModelProperty(value = "排序")
    private Integer sortId;

    /** 创建时间 */
    @Excel(name = "创建时间" , width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createDate;

    /** 创建人 */
    @ApiModelProperty(value = "创建时间")
    private String createBy;

    /** 状态 */
    @Excel(name = "状态")
    @ApiModelProperty(value = "状态")
    private Integer status;

    @TableField(exist = false)
    @ApiModelProperty(value = "分类名称")
    private String teamCategoryName;

}
